# 设置变量

FROM oven/bun AS builder
COPY . .
RUN mv bunfig.toml $HOME/.bunfig.toml && \
    bun install -g nuekit && \
    nue build -p


###
FROM mengzyou/bbhttpd:1.35 AS release
ENV TZ="Asia/Shanghai"
COPY --from=builder /home/bun/app/.dist/prod/. /home/www/html
EXPOSE 80
